package com.jozen.modelbase.netwoek.bean;

import java.util.List;

public class SmartToiletInterfaceConfModel {
    private int width;
    private int height;
    private String bgImage;
    private long ToiletIconUpdateTime;//素材是否有更改
    private List<ListDto> controls;

    public long getToiletIconUpdateTime() {
        return ToiletIconUpdateTime;
    }

    public void setToiletIconUpdateTime(long toiletIconUpdateTime) {
        ToiletIconUpdateTime = toiletIconUpdateTime;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int height) {
        this.height = height;
    }

    public String getBgImage() {
        return bgImage;
    }

    public void setBgImage(String bgImage) {
        this.bgImage = bgImage;
    }

    public List<ListDto> getControls() {
        return controls;
    }

    public void setControls(List<ListDto> controls) {
        this.controls = controls;
    }

    public static class ListDto {
        private int type;
        private int deviceId;
        private int x;
        private int y;
        private int width;
        private  int height;
        private String imagePath;
        private String tag;

        public String getTag() {
            return tag;
        }

        public void setTag(String tag) {
            this.tag = tag;
        }

        public int getType() {
            return type;
        }

        public void setType(int type) {
            this.type = type;
        }

        public int getDeviceId() {
            return deviceId;
        }

        public void setDeviceId(int deviceId) {
            this.deviceId = deviceId;
        }

        public int getX() {
            return x;
        }

        public void setX(int x) {
            this.x = x;
        }

        public int getY() {
            return y;
        }

        public void setY(int y) {
            this.y = y;
        }

        public int getWidth() {
            return width;
        }

        public void setWidth(int width) {
            this.width = width;
        }

        public int getHeight() {
            return height;
        }

        public void setHeight(int height) {
            this.height = height;
        }

        public String getImagePath() {
            return imagePath;
        }

        public void setImagePath(String imagePath) {
            this.imagePath = imagePath;
        }
    }
}
